
#include<iostream>
#include "ap_int.h"
using namespace std;

#define M_size 1488400
#define B_size 512
#define nt_size 10000
#define node 64
#define et_size 20000
#define edge 128
#define benchsize 1000000
#define batch_size 100
#define vt_size1 1009
#define vt_size2 1013
#define vt_size3 1019
#define vt_size4 1021
#define vt_size5 1031
#define vt_size6 1039
#define vt_size7 1049
#define vt_size8 1051
#define vt_size9 1061
#define vt_size10 1063
#define vt_size11 1069
#define vt_size12 1087
#define vt_buffer 1000
#define buffer_size1 10000
#define buffer_size2 5000000
#define buffer_row 1220
#define w 1220
#define bigger_p 22613

#define vt 128

//#define vt 256
extern "C"{
void GSS(ap_uint<B_size> value1[M_size], ap_uint<B_size> value2[M_size], ap_uint<B_size> value3[M_size], ap_uint<B_size> value4[M_size],
		ap_uint<B_size> value5[M_size],	ap_uint<B_size> value6[M_size], ap_uint<B_size> value7[M_size], ap_uint<B_size> value8[M_size],
		ap_uint<B_size> value9[M_size],
	   unsigned int s1[benchsize], unsigned int s2[benchsize], int buffer[benchsize], unsigned int B_buffer[buffer_size2], unsigned int fs[benchsize], unsigned int fd[benchsize], int fw[benchsize], int type, int size);
}
